﻿using Model;
using System;
using System.Collections.Generic;

namespace IHodelBll
{
    public interface IPersonnelBll
    {
        /// <summary>
        /// 新增员工
        /// </summary>
        /// <param name="S"></param>
        /// <returns></returns>
        int AddStaff(Staffs S);
        /// <summary>
        /// 删除员工
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        int DelStaff(int id);
        /// <summary>
        /// 修改职位
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        int AlterStaff(int id);
        int Addps(Positions s);
        
        List<Staffs> Show();
        /// <summary>
        /// 部门管理
        /// </summary>
        /// <returns></returns>
        List<Departments> DepartmentList();
        int AddDpm(Departments s);
        
        /// <summary>
        /// 职称
        /// </summary>
        /// <returns></returns>
        List<Positions> PositionList(int id);

    }
}
